package com.tronsis.distribution.http;


import com.tronsis.distribution.BuildConfig;

public class Url {

    public static final String BASE_URL = BuildConfig.API_HOST;


    public static final String LOGIN_USER = BASE_URL + "/app/auth/login/agent";//代理登录
    public static final String REGISTER = BASE_URL + "/app/auth/register/agent";//代理注册
    public static final String FORGET_PASSWORD = BASE_URL + "/app/auth/password/forgot";//忘记密码
    public static final String SMS_CODE = BASE_URL + "/app/auth/sms/register";//短信验证码

    public static final String APP_RESOURCE = BASE_URL + "/app/resource";//app素材
    public static final String APP_RESOURCE_TYPES = BASE_URL + "/app/resource/type/drop";//素材类型下拉列表

    public static final String FILE_DOWNLOAD = BASE_URL + "/files/download/";//下载文件
    public static final String FILE_THUM = BASE_URL + "/files/thumbnail/";//缩略图
    public static final String FILE_UPLOAD = BASE_URL + "/files/upload/";//上传文件
    public static final String FILE_UPLOADS = BASE_URL + "/files/uploads";//批量上传文件
    public static final String FILE_TYPE_IMAGE = "IMAGE";
    public static final String FILE_TYPE_VIDEO = "VIDEO";
    public static final String FILE_TYPE_OTHER = "OTHER";


    //产品
    public static final String PRODUCT = BASE_URL + "/app/product";//产品
    public static final String CART = PRODUCT + "/cart";//购物车
    public static final String CART_SUBMIT = CART + "/submit";//提交购物车
    public static final String PRODUCT_FIND = PRODUCT + "/find";//查找产品
    public static final String PRODUCT_FIND_CODE = PRODUCT + "/find-code-detail";//查找产品码

    //团队
    public static final String COURSE = BASE_URL + "/app/team/agent/course";//课程
    public static final String COURSE_DETAIL = BASE_URL + "/app/team/course";//课程详情
    public static final String MY_TRAINER = BASE_URL + "/app/team/agent/trainer";//培训团队
    public static final String TRAINER = BASE_URL + "/app/team/trainer";//[培训团队] 列出团队成员
    public static final String TRAINER_AGENT = TRAINER + "/agent";//[培训团队] 列出团队成员
    public static final String TRAINER_COURSE = TRAINER + "/course";//[培训团队] 团队课件
    public static final String TRAINER_NOTICE = TRAINER + "/notice/push";//[培训团队] 推送消息

    //升级/降级代理
    public static final String ASK_PAY = BASE_URL + "/app/upgrade/ask-pay";//补缴押金详情
    public static final String ASK_PAY_SUBMIT = BASE_URL + "/app/upgrade/ask-pay/submit";//提交补缴押金
    public static final String ASK_QUIT = BASE_URL + "/app/upgrade/ask-quit";//下级退代理列表
    public static final String ASK_QUIT_APPLY = BASE_URL + "/app/upgrade/quit";//申请退出代理
    public static final String QUIT_CONFIRM = BASE_URL + "/app/upgrade/quit/confirm";//退出确认
    public static final String QUIT_DEPOSIT = BASE_URL + "/app/upgrade/quitDeposit";//退押申请列表
    public static final String APPLY_DEPOSIT = BASE_URL + "/app/upgrade/applyDeposit";//申请退押金
    public static final String SUBMIT_DEPOSIT = BASE_URL + "/app/upgrade/submitDeposit";//提交退押金申请
    public static final String DEPOSIT_DETAIL = BASE_URL + "/app/upgrade/depositDetail";//退押金申请

    //订单
    public static final String ASK_BUY_OPTION = BASE_URL + "/app/order/ask-buy";//列出申请进货
    public static final String MY_BUY = BASE_URL + "/app/order/buy";//列出我的进货
    public static final String BUY_OPTION = BASE_URL + "/app/order/buy/{buyId}";//我的进货详情 / 删除进货 /支付进货pay
    public static final String COUPON = BASE_URL + "/app/order/coupon/me";//获取我的优惠券 /使用优惠券
    public static final String MY_DELIVERY = BASE_URL + "/app/order/delivery";//列出我的发货 /发货详情
    public static final String DELIVERY_SCAN = BASE_URL + "/app/order/delivery/scan";//添加产品扫码
    public static final String MY_STOCK = BASE_URL + "/app/order/stock";//列出我的库存
    public static final String LOWER_STOCK = BASE_URL + "/app/upgrade/suborstock";//下级库存
    public static final String STOCK_DELIVERY_APPLY = BASE_URL + "/app/order/stock/delivery";//申请库存发货
    public static final String STOCK_LOG = BASE_URL + "/app/order/stock/log";//我的库存日志
    public static final String STOCK_TOTAL_PRICE = BASE_URL + "/app/order/stock/total-price";//计算库存总价
    public static final String UPGRADE_PROFIT = BASE_URL + "/app/upgrade/profit";//下级库存利润差价
    public static final String UPGRADE_QUIT_SUBMIT = BASE_URL + "/app/upgrade/quit/submit";//提交差价凭证
    public static final String UPGRADE_ASKCONTR = BASE_URL + "/app/upgrade/askcontr";//升级代理所需贡献值数据

    //微信支付
    public static final String WX_PAY = BASE_URL + "/app/wxpay/apppay";//微信统一下单
    public static final String WX_NOTIFY = BASE_URL + "/app/wxpay/notify";//微信回调方法
    public static final String WX_QUERY_ORDER = BASE_URL + "/app/wxpay/queryOrder";//查询订单状态


    //通用
    public static final String FIND_USER = BASE_URL + "/app/misc/find/user";//查找找用户
    public static final String COMPANY_PAYEE = BASE_URL + "/app/misc/payee/company";//列出公司收款方法
    public static final String LEADER_PAYEE = BASE_URL + "/app/misc/payee/leader";//列出上级/公司收款方法
    public static final String POINT_CONVER = BASE_URL + "/app/misc/point-convert";//1积分转换多少元
    public static final String REPORT = BASE_URL + "/app/misc/report";//投诉
    public static final String RULES_MAP = BASE_URL + "/app/misc/rules";//系统各类说明 <键, 说明内容>


    //用户信息
    public static final String UPDATE_USER = BASE_URL + "/app/me/info";//更新用户信息
    public static final String PAYEE_METHOD = BASE_URL + "/app/me/payee";//列出收款方法（添加收款方法/编辑收款方法/删除收款方法）
    public static final String ADDRESS = BASE_URL + "/app/me/address";//列出地址（添加地址/编辑地址/删除地址）
    public static final String NOTICE = BASE_URL + "/app/me/notice";//列出我的通知
    public static final String UNREAD = BASE_URL + "/app/me/notice/unread";//我的未读消息计数
    public static final String MY_POINTS = BASE_URL + "/app/me/my-points";//列出我的积分
    public static final String ASK_WITHDRAW = BASE_URL + "/app/me/point/ask-withdraw";//列出积分处理列表
    public static final String POINTS_WITHDRAW = BASE_URL + "/app/me/point/withdraw";//列出我的积分列表
    public static final String POINTS_LOG = BASE_URL + "/app/me/point/log";//列出我的积分日志
    public static final String REGION_HISTORY = BASE_URL + "/app/me/region/history";//历史归属地查询






    //仓管
    public static final String LOGIN_STOCKMAN = BASE_URL + "/app/auth/login/stockman";//仓管登录


    //培训
    public static final String LOGIN_TRAINER = BASE_URL + "/app/auth/login/trainer";//培训员登录

    //招募

    public static final String RECRUIT = BASE_URL + "/app/recruit";//列出代理招募

    public static final String RECRUIT_CODE = BASE_URL + "/app/recruit/code";//获取招募代码

    public static final String RECRUIT_MIME = BASE_URL + "/app/recruit/mime";//列出我的招募


    //升降机

    public static final String UPGRADE = BASE_URL + "/app/upgrade";//列出代理招募

    public static final String UPGRADE_ASK_PAY = UPGRADE + "/ask-pay";//列出代理招募

    public static final String UPGRADE_ASK_QUIT = UPGRADE + "/ask-quit";//列出代理招募

    public static final String UPGRADE_QUIT = UPGRADE + "/quit";//列出代理招募


}
